		<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
          <h1 class="page-header">我的项目</h1>
          <div class="table-responsive">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th>项目名称</th>
                  <th>项目类型</th>
                  <th>项目状态</th>
                  <th>项目描述</th>
                  <th>测试平台</th>
                  <th>创建时间</th>
                  <th>项目操作</th>
                </tr>
              </thead>
              <tbody>
              <#if projectList??>
              		<#list projectList as pList>
		              	<tr id="modifyProject_${pList.project_id}">
		                  <td>${pList.project_name}</td>
		                  <td>${pList.share_project_name}</td>
		                  <td class="label-success label" style="display:inline-block;">${pList.project_excute_desc}</td>
		                  <td>${pList.project_desc}</td>
		                  <td>
		                  	<#if pList.platform_type=="3">
		                  		IOS
		                  	<#elseif pList.platform_type=="2">
		                  		ANDROID
		                  	<#else>
		                  		WEB
		                  	</#if>
		                  </td>
		                  <td>${pList.create_time}</td>
		                  <input type="hidden" value="" id="projectId"/>
		                  <td>
		                  <div>
		                  	<!-- Button trigger modal -->
		                  	<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#beginToWebScript" id="${pList.project_id}" name="${pList.project_name}" title="${pList.platform_type}" onclick="project.index.initTestScripts(this);">
							 	 发起测试
							</button>
		    			  </div>
		    			</td>
		                </tr>
              		</#list>
              </#if>
              </tbody>
            </table>
          </div>
        </div>
	<div class="pull-right pagination">
    	<ul class="pagination" style="" id='bp-3-element-webProject'></ul>
	</div>
	<!-- 发起测试 -->
<div class="modal fade" id="beginToWebScript" tabindex="-1" role="dialog" aria-labelledby="beginToWebScriptLabel" aria-hidden="true" data-backdrop="static">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="beginToWebScriptLabel">发起测试任务</h4>
      </div>
      <div class="modal-body" style="margin-left:70px;">
        <!-- begin -->
        <div class="input-group input-group-lg inputElementDiv">
         <span class="input-group-addon" id="sizing-addon3">测试项目</span>
			 <select class="selectpicker" data-style="btn-info" style="height:46px;width:300px;" id="testScriptOps">
				 <option value="">请选择测试脚本</option>
		      </select>
	     </div>	
        <!-- end -->
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" onclick="project.index.startToScriptTask();">确定</button>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
	project.index.productParams.totalPages = ${totalPages};
	if(project.index.productParams.totalPages>0){
		var options = {
	            size:"large",
	            bootstrapMajorVersion:3,
	            currentPage: project.index.productParams.currentPage,
	            numberOfPages: project.index.productParams.numberOfPages,
	            totalPages:project.index.productParams.totalPages
	        };
	    var element = $('#bp-3-element-webProject');
	    element.bootstrapPaginator(options);
	}
</script>